<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <meta charset="UTF-8">
    <title>『等你回家』后台管理</title>
    <link rel="stylesheet" type="text/css" href="<%=path%>/Manage/static/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path%>/Manage/static/css/main.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path%>/Manage/static/css/shou.css"/>

    <script type=""></script>
    <script type="text/javascript" src="<%=path%>/Manage/static/js/libs/modernizr.min.js"></script>
</head>
<body>
<c:if test="${sessionScope.info.mark eq '0'}">
<div class="topbar-wrap white">
    <div class="topbar-inner clearfix">
        <div class="topbar-logo-wrap clearfix">
            <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1>
            <ul class="navbar-list clearfix">
                <li><a class="on" href="index.html">首页</a></li>
                <li><a href="http://www.mycodes.net/" target="_blank">网站首页</a></li>
            </ul>
        </div>
        <div class="top-info-wrap">
            <ul class="top-info-list clearfix">
                <li>账户：${sessionScope.admin.account}</li>
                <li><a href="<%=path%>/manage/admin/updatePass">修改密码</a></li>
                <li><a href="<%=path%>/manage/exit">退出</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="container clearfix">
    <div class="sidebar-wrap">
        <div class="sidebar-title">
            <h1>菜单</h1>
        </div>
        <div class="sidebar-content">
            <ul class="sidebar-list">
                <li>
                    <a href="#"><i class="icon-font">&#xe003;</i>常用操作</a>
                    <ul class="sub-menu">
                        <li><a href="<%=path%>/manage/show/userinfoshow"><i class="icon-font">&#xe005;</i>用户管理</a></li>
                        <li><a href="<%=path%>/manage/show/loser"><i class="icon-font">&#xe008;</i>遗失者信息管理</a></li>
                        <li><a href="<%=path%>/manage/volunteer/show"><i class="icon-font">&#xe006;</i>志愿者管理</a></li>
                        <li><a href="design.html"><i class="icon-font">&#xe012;</i>评论管理</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    </c:if>
<c:if test="${sessionScope.info.mark eq '1'}">
    <div class="topbar-wrap white">
        <div class="topbar-inner clearfix">
            <div class="topbar-logo-wrap clearfix">
                <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1>
                <ul class="navbar-list clearfix">
                    <li><a class="on" href="${pageContext.request.contextPath}/manage">首页</a></li>

                </ul>
            </div>
            <div class="top-info-wrap">
                <ul class="top-info-list clearfix">
                    <li>账户：${sessionScope.admin.account}</li>
                    <li><a href="<%=path%>/manage/admin/updatePass">修改密码</a></li>
                    <li><a href="<%=path%>/manage/exit?id=${sessionScope.admin.id}">退出</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="container clearfix">
        <div class="sidebar-wrap">
            <div class="sidebar-title">
                <h1>菜单</h1>
            </div>
            <div class="sidebar-content">
                <ul class="sidebar-list">
                    <li>
                        <a href="#"><i class="icon-font">&#xe003;</i>常用操作</a>
                        <ul class="sub-menu">
                            <li><a href="<%=path%>/manage/show/userinfoshow"><i class="icon-font">&#xe005;</i>用户管理</a></li>
                            <li><a href="<%=path%>/manage/show/loser"><i class="icon-font">&#xe008;</i>遗失者信息管理</a></li>
                            <li><a href="<%=path%>/manage/volunteer/show"><i class="icon-font">&#xe006;</i>志愿者管理</a></li>
                            <li><a href="<%=path%>/manage/show/log"><i class="icon-font">&#xe006;</i>用户日志管理</a></li>
                            <li><a href="<%=path%>/manage/news/newsList"><i class="icon-font">&#xe006;</i>文章管理</a></li>
                            <li><a href="<%=path%>/manage/task/show"><i class="icon-font">&#xe006;</i>任务管理</a></li>
                            <li><a href="<%=path%>/manage/comment/commentShow"><i class="icon-font">&#xe006;</i>评论管理</a></li>
                            <li><a href="<%=path%>/manage/admin/findLogs"><i class="icon-font">&#xe006;</i>管理员操作日志</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="icon-font">&#xe018;</i>管理员操作</a>
                        <ul class="sub-menu">
                            <li><a href="<%=path%>/manage/admin/insert"><i class="icon-font">&#xe017;</i>管理员添加</a></li>
                            <li><a href="<%=path%>/manage/admin/show"><i class="icon-font">&#xe005;</i>管理员列表</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
</c:if>